<%@page import="com.shsh.safemanage.util.Util"%>
<%@page import="com.shsh.safemanage.util.MessageUtil"%>
<%@page import="com.shsh.safemanage.util.Constants"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@page import="com.shsh.safemanage.action.ActionCreator"%>
<%@page import="com.shsh.safemanage.action.WeakAction"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%

	WeakAction weakAction = ActionCreator.createWeakAction();
	boolean isSuccess = weakAction.feedbackWeakReport(request);
	Map<String, Object> map = new HashMap<String, Object>();
	map.put(Constants.JSON_KEY_IS_SUCCESS, isSuccess);
	if (!isSuccess) {
		map.put(Constants.JSON_KEY_ERROR, MessageUtil.getMessage((String) request.getAttribute(Constants.REQUEST_ATTRIBUTE_ERROR)));
	}
%>
<%=Util.toJSONString(map)%>